added the PR check pipline feature #8
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a multi-language pull request CI workflow (
.github/workflows/pr-ci.yml) that conditionally validates template changes (Node, Python/FastAPI, Go, Spring Boot, Next.js) in parallel. Provides early failure signals for broken templates. Closes #.Type of Change
Motivation / Context
Template regressions were only discoverable post-merge or via manual review. Adding a targeted, path-aware CI workflow reduces reviewer burden, shortens feedback cycles, and preserves confidence that shipped scaffolds actually work across supported languages.
Approach
Implemented a GitHub Actions workflow triggered on
pull_requestevents tomain. A first "changes" job usesdorny/paths-filterto detect which of the template families changed and conditionally runs downstream jobs only for those stacks. Each language job installs dependencies (where relevant), performs a lightweight build or startup & health probe (smoke test), and reports status to a finalsummaryjob that enforces failure aggregation. Concurrency control cancels superseded runs for the same PR. Chosen over a monolithic matrix because different ecosystems need bespoke steps and skipping untouched stacks saves time.CLI Impact
No direct CLI surface changes (no new flags, commands, or behavior). Purely repository CI automation.
Generated Output Impact
None. Scaffolded output structure and templates remain unchanged; only repository automation added. No new template folders or Docker/compose mutations.
Tests
No new automated tests added (workflow itself executes smoke probes). Rationale: templates currently lack formal unit/integration test suites; this CI lays groundwork so future test files are picked up easily.
Local scaffold smoke (example):
Result: ✅ (template copied & dev script available)
Screenshots / Logs (Optional)
Example (abridged) successful job sequence:
Docs
docs/guide/pr-ci.mdREADME.md(not required for now).github/copilot-instructions.mdChecklist
Open Questions / Follow-ups
npm ci && npm test) for non-template changes._test.go, Python pytest, Node vitest, Java JUnit) and enable them.actions/setup-gowith caching) if runtime length increases.Thanks for contributing! 🎉